package com.niit.session5.oprator;

import java.util.Scanner;

public class PrintNum {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
//		从键盘获取一个整数的输入，并将这个值赋值给num变量
		int num = sc.nextInt();
		System.out.println(num%10);
		System.out.println(num/10%10);
		System.out.println(num/100%10);
	}

}
